home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / utilstem / util3 / util3.arc / WIPE2.BAT < prev    next >
Encoding:
DOS Batch File  |  1988-10-27  |  437 b   |  18 lines

  1. ECHO OFF
  2. CLS
  3. IF "%1" == "" GOTO HELP
  4. ECHO Files matching %1 are about to be permanently deleted!!
  5. ECHO To exit press [CTRL-BREAK] or
  6. PAUSE
  7. ECHO This file has been wiped... > WIPE.DAT
  8. FOR %%f IN (%1) DO COPY WIPE.DAT %%f > NUL
  9. DEL WIPE.DAT
  10. DEL %1
  11. ECHO %1 deleted
  12. GOTO END
  13. :HELP
  14. ECHO To permanently delete a file or set of files, type
  15. ECHO            "WIPE  filespec"
  16. ECHO ...where filespec may contain wildcards.
  17. :END
  18.